home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
man
/
man-part1
/
cat2
/
xfpoly.2
< prev
next >
Wrap
Text File
|
1999-09-16
|
544b
|
67 lines
xfpoly(2) Scilab Function xfpoly(2)
NAME
xfpoly - fill a polygon
CALLING SEQUENCE
[]=xfpoly(xv,yv,[close])
PARAMETERS
xv, yv : two vectors of size n (the points of the polygon)
close : an integer
DESCRIPTION
Fills a polygon. If close is equal to 1 a point is added to the polyline
xv,yv to define a polygon.
EXAMPLE
x=sin(2*%pi*(0:5)/5);
y=cos(2*%pi*(0:5)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xfpoly(x,y)
AUTHOR
J.Ph.C.